Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Utility

Hierarchy

  • Utility

Index

Methods

Static checkOverlap

  • checkOverlap<T>(array: T[]): boolean
  • 重複がなければtrue

    Type parameters

    • T

    Parameters

    • array: T[]

    Returns boolean

Static flat

  • flat<T>(array: T[][]): T[]

Static flatMap

  • flatMap<T>(source: T[], map: function): T[]
  • Type parameters

    • T

    Parameters

    • source: T[]
    • map: function
        • (a: T): T[]
        • Parameters

          • a: T

          Returns T[]

    Returns T[]

Static isCamelCase

  • isCamelCase(str: string): boolean

Static isSnakeCase

  • isSnakeCase(str: string): boolean

Static remove

  • remove<T>(array: T[], target: T): boolean
  • Type parameters

    • T

    Parameters

    • array: T[]
    • target: T

    Returns boolean

Static sum

  • sum(array: number[]): number

Static w

  • w(message: string): void

Generated using TypeDoc