mapOf
Guard for maps where every key and value must satisfy their guards.
import { mapOf, isString, isNumber } from 'is-kit';const isScoreMap = mapOf(isString, isNumber);isScoreMap(new Map([['math', 98], ['english', 91]])); // trueisScoreMap(new Map([['math', '98']])); // false