Skip to main content
Version: Next

Function: isTypeResult()

isTypeResult(type): boolean

Defined in: src/utils/calldata/cairo.ts:88

Checks whether a given type starts with 'core::result::Result::'.

Parameters

type

string

The type to check.

Returns

boolean

  • True if the type starts with 'core::result::Result::', false otherwise.