Umi — API References - v1.3.0
    Preparing search index...

    Variable isOptionConst

    isOption: <T = unknown>(input: any) => input is Option<T>

    Whether the given data is an Option.

    Type Declaration

      • <T = unknown>(input: any): input is Option<T>
      • Type Parameters

        • T = unknown

        Parameters

        • input: any

        Returns input is Option<T>