Function isPlatform

  • Checks if the specified platform matches the host.

    Parameters

    • platform: Platform

      Platform to check against the host.

    Returns boolean

    true if the specified platform matches the host.