Delete all string values

Hi. Is there som easy way to just let number pass? Just want numbers in the debug window?

function node:

if(typeof msg.payload == 'number'){
    return msg;
}

Or switch node as @dceejay shows, same same but same :cowboy_hat_face:

Hi use a switch node configured to check for type of number

1 Like

Thanks!! Worked perfect