Interface TwingCallableWrapper

interface TwingCallableWrapper {
    acceptedArguments: TwingCallableArgument[];
    alternative: undefined | string;
    callable: TwingCallable<any, any>;
    deprecatedVersion: undefined | string | boolean;
    isDeprecated: boolean;
    isVariadic: boolean;
    name: string;
    nativeArguments: string[];
}

Hierarchy (view full)

Properties

acceptedArguments: TwingCallableArgument[]
alternative: undefined | string
callable: TwingCallable<any, any>
deprecatedVersion: undefined | string | boolean
isDeprecated: boolean
isVariadic: boolean
name: string
nativeArguments: string[]

native arguments are the arguments implicitly passed to the call, deduced from the operator name typically, a Callable Wrapper registered under the name "foo--" would generate native arguments ["bar","oof"] when the operator name is "foo-bar-oof"

Generated using TypeDoc