document None type check