typeof function checks in Stagger