@serenity-is/corelib / cast Function: cast() cast(instance, type): any Parameters instance any type Type Returns any Defined in src/q/system-compat.ts:189